package com.ruoyi.project.platform.agent.basic;

import com.ruoyi.project.platform.agent.constant.DealType;
import lombok.Data;

public class AgentResultDto {

    @Data
    public static class ATicker {
        private Double price;
        private Long ts;
    }

    @Data
    public static class Balance {
        private Double amount;//': '4317.6696678',
        private String symbol;//': "USDT",
        private Double freeze;//': '71.609185'
    }

    @Data
    public static class AccountPair {
        Balance quote;
        Balance base;
    }


    @Data
    public static class DealedOrderItem{
        private DealType type;//	string	交易类型
        private String quantity;//	string	成交数量
        private String price;//	string	成交价格
        private String amount;//	string	成交金额
        private Long createTime;
        private String tag;
    }

    @Data
    public static class PlaceReq{
        private Double price;
        private Double quantity;
        private String tradeType;
    }


}
